package com.xtravel.tweet.database.po;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by Kevin
 */
@DatabaseTable(tableName = "tb_tweet")
public class TweetPo {

    @DatabaseField(id = true)
    private int id;

    @DatabaseField(columnName = "obj_id")
    private Long objId;

    @DatabaseField(columnName = "tweet_id")
    private String tweetId;

    @DatabaseField(columnName = "content")
    private String content;

    @DatabaseField(columnName = "tweet_url")
    private String tweetUrl;

    @DatabaseField(columnName = "title")
    private String title;

    @DatabaseField(columnName = "dt_created_time")
    private String dtCreatedTime;

    @DatabaseField(columnName = "retweet_count")
    private int retweetCount;

    @DatabaseField(columnName = "comment_count")
    private int commentCount;

    @DatabaseField(columnName = "like_count")
    private int likeCount;

    @DatabaseField(columnName = "is_perfect")
    private boolean isPerfect;

    @DatabaseField(columnName = "created_time")
    private Long createdTime;

    @DatabaseField(columnName = "online_time")
    private Long onlineTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public String getTweetId() {
        return tweetId;
    }

    public void setTweetId(String tweetId) {
        this.tweetId = tweetId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTweetUrl() {
        return tweetUrl;
    }

    public void setTweetUrl(String tweetUrl) {
        this.tweetUrl = tweetUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDtCreatedTime() {
        return dtCreatedTime;
    }

    public void setDtCreatedTime(String dtCreatedTime) {
        this.dtCreatedTime = dtCreatedTime;
    }

    public int getRetweetCount() {
        return retweetCount;
    }

    public void setRetweetCount(int retweetCount) {
        this.retweetCount = retweetCount;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public boolean isPerfect() {
        return isPerfect;
    }

    public void setIsPerfect(boolean isPerfect) {
        this.isPerfect = isPerfect;
    }

    public Long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Long createdTime) {
        this.createdTime = createdTime;
    }

    public Long getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Long onlineTime) {
        this.onlineTime = onlineTime;
    }
}
